Skip to content

Instantly share code, notes, and snippets.

@codewithpassion
codewithpassion / dom-swe-append-092026.md
Created September 22, 2026 05:04
Dom's System prompt append 092026

Frameworks and runtimes

Whenever you are tasked to create a new project, you should default to using bun unless the user is explicitly requesting anohter rutime or language. Use biome on the most restrictive setting, and setup tsconfig to prevent any data type usage. Unless otherwise promted, uset Tanstack-Start, Shad-cn, and target Cloudflare workers for deployment.

Cloudflare Wrangler

Never use .dev.vars* style environment files. This is out of date. wrangler supports .env/.env.* files. Always go for this style.

@nicobrenner
nicobrenner / banking77_gist.py
Last active October 9, 2026 17:39
Banking77: 94.25% accuracy with a 642 KB logistic classifier (embeddings + sklearn)
#!/usr/bin/env python3
"""
Banking77: frozen embeddings + logistic regression for 77-class intent detection.
Uses the Banking77 dataset (3,080 test queries across 77 banking intents)
to show what a simple pipeline can do: convert text to vectors with a
pre-trained embedding model, then train an sklearn LogisticRegression on top.
The embedding model is used as-is — no fine-tuning, no GPU needed.
The classifier + scaler weigh about 642 KB. The embedding model
@k16shikano
k16shikano / SKILL.md
Last active October 9, 2026 17:37
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063)

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

@Obydux
Obydux / Fabric-Server-Optimization.md
Last active October 9, 2026 17:30
Fabric Server Optimization

Fabric Server Optimization

This has been updated for 26.1 - 26.2, all of the optimization mods mentioned here are compatible with each other and don't affect vanilla behaviour by default.

Mods

@kemonomimimimimimimi
kemonomimimimimimimi / RECOVERY.md
Last active October 9, 2026 17:29
RECOVERY.md

XDJ AZ recovery and development safety

The AZ has a separate recovery operating system, two normal firmware slots, and an SSH route installed through the modified normal firmware. These provide several ways to recover application failures. They do not make arbitrary code running as root incapable of damaging the boot chain.

For everyday development, preserve the current boot chain and introduce a supervisor that tries temporary code, detects failure, and returns to a known working version. The current loader does not provide that automatic rollback.

@vkhatri
vkhatri / ssh-env-variable-forwarding.sh
Created February 28, 2014 11:20
Forward ENV Variables over SSH to Remote Host
## Client:
# Environment Variables to Forward to Remote Host
# .ssh/config
SendEnv VARIABLE1
SendEnv VARIABLE2
..
SendEnv VARIABLEn
@kyo-takano
kyo-takano / serving-uncensored-llm-on-cloud.md
Created October 9, 2026 03:21
無検閲LLMをクラウドで

無検閲LLMをクラウドで

目的に制限のかからない無検閲LLMを使うために、数十万円かけてローカルLLM実行環境を用意する必要はあるでしょうか? Qwen 3.8 27B Uncensoredが話題になったここ数週間、そうした相談を受けることが増えました。 結論を言えば、ほとんどのケースでその必要はありません。

よくある推論APIでは、プロンプトを文字列のまま送り、またレスポンスの主な要素として文字列を受け取ります。 事業者によっては内容をモニターしており、ポリシーに反する内容を検出すれば、そこに悪意がなくとも利用に制限がかかります。これは、生物化学系の研究やサイバーセキュリティにおけるペンテスト(penetration test)などを行う上では非常に不便です。 ローカルLLMはその回避を主目的の一つとして発展してきましたが、そもそもAI企業の規制を掻い潜るのに手元に機材を揃える必要はありません—クラウド上に自身でデプロイし、必要なときだけ呼び出せばいいのですから。そしてそれは、パラメータに刷り込まれたガードレールすらも排除したuncensored LLMにおいても同じことです。

Introduction

As most readers already know, I have been working hard for more than one year to replace the old SpiderMonkey 24 engine, which has been powering our JavaScript runtime since 2015, with a completely new, entirely redesigned, and fully rewritten runtime based on V8, Google's high-performance, open-source JavaScript and WebAssembly engine.

This monumental work is now complete, and the new runtime, available in version 1.9.4 Lockhart of PixInsight, has been thoroughly tested for stability and compatibility. We have already ported the most important standard scripts of our platform to the new V8 runtime, including the WBPP and FBPP preprocessing scripts, all astrometry scripts, and most utility and development scripts. The work to complete the transition to V8 will continue during the coming months. Many non-trivial scripts require substantial modifications to run on the new runtime. This is a delicate task, but for most scripts it isn't really difficult if properly implemented

@lopspower
lopspower / README.md
Last active October 9, 2026 17:11
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@TheSirop
TheSirop / install-wsl2-on-windows10
Last active October 9, 2026 17:10
Установка WSL2 на Win10
# Активация поддержки режима Hyper-V в Windows:
$ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
# Скачать обновлнение для WSL2 Linux kernel update package for x64 machines:
$ https://docs.microsoft.com/ru-ru/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package
# Команда для включения VM:
$ dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# Команда для включения WSL: